package com.ysd.lis.entity.bac;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ysd.lis.entity.BaseEntity;
import com.ysd.lis.entity.BaseEntityJpa;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * 微生物耐药表行字典库
 * @author LuoXS
 * @date 2024/3/26
 * version 1.0
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "BAC_RESISTANT_PHENOTYPE",autoResultMap = true)
@Entity
@Table(name = "BAC_RESISTANT_PHENOTYPE")
public class BacResistantPhenotypeDict extends BaseEntityJpa {

    /**
     * 编码
     */
    @TableField("RESI_TYPE_NO")
    @Column(name = "RESI_TYPE_NO")
    private String code;

    /**
     * 名称
     */
    @TableField("RESI_TYPE_NA")
    @Column(name = "RESI_TYPE_NA")
    private String name;

    /**
     * 标准名称
     */
    @TableField("STANDARD_NA")
    @Column(name = "STANDARD_NA")
    private String standardName;

    /**
     * 输入码
     */
    @TableField("INPUT_CODE")
    @Column(name = "INPUT_CODE")
    private String inputCode;

    /**
     * 是否静态
     */
    @TableField("IS_STATIC")
    @Column(name = "IS_STATIC")
    private Integer isStatic;

    /**
     * 显示顺序
     */
    @TableField("SEQ")
    @Column(name = "SEQ")
    private String displayOrder;

    /**
     * 耐药类型
     */
    @TableField("RESISTANT_TYPE_ID")
    @Column(name = "RESISTANT_TYPE_ID")
    private String resistantTypeId;

    /**
     * 耐药类型
     */
    @TableField("RESISTANT_TYPE_NO")
    @Column(name = "RESISTANT_TYPE_NO")
    private String resistantTypeNo;

    @TableField(exist = false)
    @Transient
    private String resistantTypeNa;

    @TableField(exist = false)
    @Transient
    private String keywords;

}
